/* 整体容器样式 */
.container {
    display: flex;
    height: 100vh;
    font-family: Arial, sans-serif;
}

/* 左侧竖状分类栏样式 */
.sidebar {
    width: 250px;
    background-color: #424242;
    color: white;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.sidebar.logo {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar.logo img {
    width: 120px;
    height: auto;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.sidebar ul li:hover {
    background-color: #34495e;
    border-radius: 5px;
}

.sidebar ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    display: block;
    padding: 10px 15px;
}

/* 右侧内容展示区域样式 */
.main-content {
    flex: 1;
    padding: 30px;
    background-color: #ecf0f1;
    overflow-y: auto;
}

.content-section {
    display: none;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.content-section h2 {
    margin-top: 0;
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

.action-buttons button {
    margin-right: 10px;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.btn.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn.btn-warning {
    background-color: #f39c12;
    color: white;
}

.btn.btn-primary {
    width: 100px;
    height: 30px;
    border: 1px solid #3498db;
    border-radius: 10px;
    background-color: #3498db;
    color: white;
}

.btn.btn-success {
    background-color: #2ecc71;
    color: white;
}

form label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 15px;
}

.permission-list li {
    margin-bottom: 10px;
}